package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息通道对象 basicMessageChannel
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class BasicMessageChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消息通道编号 */
    private Long messageChannelId;

    /** 消息通道名称 */
    @Excel(name = "消息通道名称")
    private String messageChannelName;

    /** 消息通道类型 */
    @Excel(name = "消息通道类型")
    private String messageChannelType;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Integer isEnabled;

    /** 配置编号 */
    @Excel(name = "配置编号")
    private Long configId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 上次更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上次更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 错误日志 */
    @Excel(name = "错误日志")
    private String errorLog;

    public void setMessageChannelId(Long messageChannelId) 
    {
        this.messageChannelId = messageChannelId;
    }

    public Long getMessageChannelId() 
    {
        return messageChannelId;
    }
    public void setMessageChannelName(String messageChannelName) 
    {
        this.messageChannelName = messageChannelName;
    }

    public String getMessageChannelName() 
    {
        return messageChannelName;
    }
    public void setMessageChannelType(String messageChannelType) 
    {
        this.messageChannelType = messageChannelType;
    }

    public String getMessageChannelType() 
    {
        return messageChannelType;
    }
    public void setIsEnabled(Integer isEnabled) 
    {
        this.isEnabled = isEnabled;
    }

    public Integer getIsEnabled() 
    {
        return isEnabled;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setLastUpdateTime(Date lastUpdateTime) 
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() 
    {
        return lastUpdateTime;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setErrorLog(String errorLog) 
    {
        this.errorLog = errorLog;
    }

    public String getErrorLog() 
    {
        return errorLog;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageChannelId", getMessageChannelId())
            .append("messageChannelName", getMessageChannelName())
            .append("messageChannelType", getMessageChannelType())
            .append("isEnabled", getIsEnabled())
            .append("configId", getConfigId())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("lastUpdateTime", getLastUpdateTime())
            .append("updater", getUpdater())
            .append("errorLog", getErrorLog())
            .toString();
    }
}
